package com.ruoyi.manage.article.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.manage.article.domain.Project;
import com.ruoyi.manage.article.domain.vo.CountVo;

/**
 * projectService接口
 * 
 * @author ruoyi
 * @date 2024-11-21
 */
public interface IProjectService 
{
    /**
     * 查询project
     * 
     * @param id project主键
     * @return project
     */
    public Project selectProjectById(Long id);

    /**
     * 查询project列表
     * 
     * @param project project
     * @return project集合
     */
    public List<Project> selectProjectList(Project project);

    /**
     * 新增project
     * 
     * @param project project
     * @return 结果
     */
    public int insertProject(Project project);

    /**
     * 修改project
     * 
     * @param project project
     * @return 结果
     */
    public int updateProject(Project project);

    /**
     * 批量删除project
     * 
     * @param ids 需要删除的project主键集合
     * @return 结果
     */
    public int deleteProjectByIds(Long[] ids);

    /**
     * 删除project信息
     * 
     * @param id project主键
     * @return 结果
     */
    public int deleteProjectById(Long id);

    AjaxResult count();
}
